package com.hourses.service;

import com.hourses.page.Page;
import com.hourses.pojo.Result;
import com.hourses.pojo.Store;
import com.hourses.vo.StatisticsVo;

import javax.management.relation.RelationSupport;
import java.util.List;

/**
 * @Description:
 * @Author:LiTao
 * @Date:2025/5/1 17:48
 */
public interface StoreService {
    //查询仓库列表
    public Result selectAllStores();

    //向前端ECharts框架传送图形中展示的数据
    public List<StatisticsVo> selectEChartsData();

    //分页展示仓库列表
    public Result selectsStoreListByPage(Store store, Page page);

    //修改仓库信息
    public Result updateStore(Store store);

    //添加仓库时判断仓库编号是否存在
    public Result checkStoreNumExists(String storeNum);

    //添加仓库
    public Result addStore(Store store);

    //删除仓库
    public Result deleteStoreByStoreId(Integer storeId);
}
